package com.labot.dao;

import java.util.List;

import com.labot.model.MailTemplate;
import com.labot.types.MailType;

/**
 * @author Ing. Enrique Barbeito
 */
public interface MailTemplateDao extends GenericDao<MailTemplate, Long> {

    
	public MailTemplate getMailTemplate(MailType type);
	
    public List<MailTemplate> getAll();
    
    public MailTemplate saveMailTemplate(MailTemplate mail);
    
    public MailTemplate save(MailTemplate mailTemplate);

	public void excuteBatch(String hql);

}
